#include "PhysicsParameters.h"

/*
	PhysicsParameters
*/

/*	public	*/

PhysicsParameters::PhysicsParameters() :
	_adhesionEnergyCoef(1.0),
	_membraneEnergyCoef(1.0),
	_sizeEnergyCoef(1.0),
	_updateEnergyThreshold(-0.01) {}

void PhysicsParameters::setAdhesionEnergyCoef(double coef) {
	_adhesionEnergyCoef = coef;
}

double PhysicsParameters::getAdhesionEnergyCoef() const {
	return _adhesionEnergyCoef;
}

void PhysicsParameters::setMembraneEnergyCoef(double coef) {
	_membraneEnergyCoef = coef;
}

double PhysicsParameters::getMembraneEnergyCoef() const {
	return _membraneEnergyCoef;
}

void PhysicsParameters::setSizeEnergyCoef(double coef) {
	_sizeEnergyCoef = coef;
}

double PhysicsParameters::getSizeEnergyCoef() const {
	return _sizeEnergyCoef;
}

void PhysicsParameters::setUpdateEnergyThreshold(double threshold) {
	_updateEnergyThreshold = threshold;
}

double PhysicsParameters::getUpdateEnergyThreshold() const {
	return _updateEnergyThreshold;
}

